{include file="public/header" /}
<style>
    img{
        cursor: pointer;
    }
    .layui-col-md-offset1{
        line-height: 30px;
    }
    .left{
        float: left;
    }
    .right{
        float: right;
    }
    .span{
        font-size: 12px;
    }
    .spangreen{
        color: mediumseagreen;
    }
    .spanred{
        color: orangered;
    }
    .user{
        width:50px;
        height:50px;
        border-radius: 50%;
    }
    .time{
        font-size: 12px;
        color: #CCC;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>回复列表</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item">
                        {volist name='reply' id='re'}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8 {$re.mq_who==0 ? 'left' : 'right'}">
                            <img class="user" src="{$re.user_image}" onerror="this.src='/static/admin/images/head_default.gif'" />
                            {$re.user_username}({$re.user_phone})<span class="span {$re.mq_who==0 ? 'spangreen' : 'spanred'}" style="font-size: 10px">{$re.mq_who==0 ? '提问' : '回复'}</span>
                            ：<br/>
                            <span class="time">{$re.mq_time}：</span>{$re.mq_content}
                            <br/>
                        </div>
                        {/volist}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
<script>
    $('.aaaaaa').viewer({
        url: 'data-original',
    });
</script>